package com.jwds.digital.bios.business.rpc.feign.fallback;

import com.jwds.digital.bios.business.core.infrastructure.dto.feign.BasicDeviceReqDTO;
import com.jwds.digital.bios.business.core.infrastructure.vo.feign.BasicDeviceRespVO;
import com.jwds.digital.bios.business.rpc.feign.BasicDeviceFeign;
import com.jwds.tdc.framework.application.lib.BaseResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author hesong
 */
@Slf4j
@Component
public class BasicDeviceFeignFallBack extends DefaultFallBack implements BasicDeviceFeign {
    @Override
    public BaseResponse<BasicDeviceRespVO> queryById(Long id) {
        return fallBack();
    }

    @Override
    public BaseResponse<List<BasicDeviceRespVO>> list(BasicDeviceReqDTO reqDto) {
        return fallBack();
    }
}
